package cn.tedu.ivos.base.exception;

import cn.tedu.ivos.base.response.StatusCode;
import lombok.Getter;
import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * @Author: Miyako
 * @Date: 2024-08-30-10:32
 * @Description:
 */

public class ServiceException extends RuntimeException   {
        @Getter
        private StatusCode statusCode;


    public ServiceException(StatusCode statusCode) {
        this.statusCode = statusCode;
    }
}
